package com.yonyou.pmclouds.completedcatalog.mapper;

import com.yonyou.pmclouds.basecom.dao.BaseMapper;
import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.completedcatalog.entity.CompletedCatalogBVO;
import org.apache.ibatis.annotations.Param;

public interface CompletedCatalogBVOMapper extends BaseMapper<CompletedCatalogBVO> {

    /**
     * 通过竣工资料目录主表主键，获取对应子表的数据
     * @param pkCompletedCatalog
     * @return
     * @throws BusinessException
     */
    CompletedCatalogBVO[] queryBvosByPkCatalog(@Param("pkCompletedCatalog") String pkCompletedCatalog);

    CompletedCatalogBVO[] queryBvosByPks(@Param("pks") String[] pks);
}